package com.easyadmin.modules.job.mapper;

import com.easyadmin.modules.job.domain.ScheduleLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Describe: 定时任务日志接口
 * Author: 就免仪式
 * CreateTime: 2025/02/23
 */
@Mapper
public interface ScheduleLogMapper {

    /**
     * Describe: 插入定时任务日志
     * Param: ScheduleLogBean
     * Return: Integer 影响条数
     */
    Integer insert(ScheduleLog scheduleLog);

    /**
     * Describe: 根据条件查询定时任务日志列表
     * Param: ScheduleLogBean
     * Return: Integer 影响条数
     */
    List<ScheduleLog> selectListdate(ScheduleLog scheduleLogBean);
    /**
     *  删除数据
     * **/
    Integer deleteCreteTime();
    /**
     *  按照日期查询
     * **/
    List<ScheduleLog> selectCreateTime( String todayStr,String jobName);
}